Cucumber features not passing on Rails 2.3.2 with Webrat 0.4.3
Reported by Hugo Corbucci | March 31st, 2009 @ 06:21 PM
When running the features for Restful Authentication on Rails 2.3.2 with Webrat 0.4.3, several steps fail since they expect a redirect but never get it. The code that causes it is the request_page method in the session.rb file of Webrat's core. This code ensures that webrat will follow internal redirects and Restful Authentication features generate internal redirects. I am not really sure what should be the correct patch for this. Either NOT expect a redirect or try getting another instance of Session for those tests or post a ticket to Webrat to provide a flag to follow internal redirects or not.
I can produce any of those patches but I would like to know which one is the most appropriate approach. Thanks
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Restful Authentication Generator
This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.
http://github.com/technoweenie/restful-authentication/tree